<?php
class dayworkModel extends Model
{
    protected $_validate = array(
        array("title", "require", "标题不能为空"),
        array("content", "require", "content不能为空")
    );
}

?>